
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="bootstrap/css/bootstrap.css">
  <title>Bootstrap</title>
  <style>
    .container {
      padding: 40px;
    }
    .content > div{
      height: 100px;
      line-height: 100px;
      text-align: center;
      color: #333;
      background:#cccccc;
      margin-bottom: 10px;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="row">
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>1</div></div>
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>2</div></div>
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>3</div></div>
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>4</div></div>
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>5</div></div>
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>6</div></div>
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>7</div></div>
      <div class="content col-12 col-lg-3 col-md-4 col-sm-6"><div>8</div></div>
    </div>
  </div>
</body>
</html>
